import service from '@/service/service'

/**
 * 已生成单据数
 * @returns {*}
 */
export function getCompletedTransferDocNum () {
  return service.post('api/wms/directTransfer/GetCompletedTransferDocNum')
}

/**
 * 实时调拨详情
 * @returns {*}
 */
export function getRealtimeTransferDetails () {
  return service.post('api/wms/directTransfer/GetRealtimeTransferDetails')
}

/**
 * 今日调拨数量半成品
 * @returns {*}
 */
export function getTodayTransferDetails () {
  return service.post('api/wms/directTransfer/GetTodayTransferDetails')
}

/**
 * 今日调拨单数量
 * @returns {*}
 */
export function getTodayTransferDocNum () {
  return service.post('api/wms/directTransfer/GetTodayTransferDocNum')
}


/**
 * 调拨历史数据
 * @returns {*}
 */
export function getTransferHistory ( data ) {
  return service.post('api/wms/directTransfer/GetTransferHistory', data)
}


/**
 * 调拨物料总数
 * @returns {*}
 */
export function getTransferMatSum () {
  return service.post('api/wms/directTransfer/GetTransferMatSum')
}



/**
 * 调拨物料种类
 * @returns {*}
 */
export function getTransferMatTypeNum () {
  return service.post('api/wms/directTransfer/GetTransferMatTypeNum')
}
/**
 * 获取仓库列表
 * @param data
 */
export function fetchWarehouseList (data) {
  return service.post('api/wms/warehouse/GetAllWarehouseNoToken',data)
}

